#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <stdlib.h>
#include<math.h>
int main()
{
	int a, b;
	printf("num:");
	scanf("%d", &a);
	while (a > 0)
	{
		b = sqrt(a);
		printf("sqrt=%d\n", b);
		printf("num:");
		scanf("%d", &a);
	}
	printf("Bye!");
	return 0;
}
